home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / et / et3_0-a1.lha / et3 / src / Filler.h < prev    next >
C/C++ Source or Header  |  1992-04-27  |  602b  |  31 lines

  1. #ifndef Filler_First
  2. #ifdef __GNUG__
  3. //pragma once
  4. #pragma interface
  5. #endif
  6. #define Filler_First
  7.  
  8. #include "VObject.h"
  9.  
  10. //---- Filler ------------------------------------------------------------------
  11.  
  12. class Filler : public VObject {
  13. protected:
  14.     Point minsize;
  15.     Ink *ink;
  16. public:
  17.     MetaDef(Filler);
  18.     Filler(Point extent, int flags= 0);
  19.     Filler(Point extent, Ink *i, int flags= 0);
  20.     Ink *SetInk(Ink *i, bool redraw= TRUE);
  21.     Ink *GetInk()
  22.     { return ink; }
  23.     Metric GetMinSize();
  24.     void Draw(Rectangle);
  25.     OStream& PrintOn(OStream&);
  26.     IStream& ReadFrom(IStream&);
  27. };
  28.  
  29. #endif
  30.  
  31.